package com.innjia.sys.service;

import com.innjia.base.utils.PageUtils;
import com.innjia.sys.entity.WishListEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author innjia
 * @email innjia@innjia.com
 * @date 2017-11-30 17:44:47
 */
public interface WishListService {
	
	WishListEntity queryObject(String id);
	
	List<WishListEntity> queryList(Map<String, Object> map);

    List<WishListEntity> queryListByBean(WishListEntity entity);
	
	int queryTotal(Map<String, Object> map);

	//保存新建的心愿单
	int save(WishListEntity wishList);
	
	int update(WishListEntity wishList);
	
	int delete(String id);
	
	int deleteBatch(String[] ids);

	//分页条件查询心愿单列表
	List<WishListEntity> queryPageListByBean(WishListEntity entity, PageUtils pageUtil);
}
